package com.mspbots.cw.amqp.model;


import com.fasterxml.jackson.databind.JsonNode;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.time.LocalDateTime;


/**
 * com.mspbots.core.ticket.TenantTicket
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/8/8
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(value = "tenant_tickets_close")
public class TicketClose {

    @Id
    private Long id;
    private int tenantId;
    private Long cwId;
    private int statusId;
    private String status;
    private LocalDateTime createdTime;
    private LocalDateTime updatedTime;
    private Boolean isConfigurations;
    private JsonNode configurations;
    private Boolean isType;
    private String type;
    private Boolean isSubType;
    private String subType;
}
